import request from '@/utils/request'

export function getDialogue(chatId) {
  return request({
    url: '/chatgpt/getDialogue/' + chatId,
    method: 'get'
  })
}

export function getChatList() {
  return request({
    url: '/chatgpt/getChatList',
    method: 'get'
  })
}

export function newChat() {
  return request({
    url: '/chatgpt/newChat',
    method: 'post'
  })
}
